import { createRouter, createWebHistory } from 'vue-router';
import Enum from "@/gamejs/Enum";

const routes = [
  {
    path: Enum.paiBanpath,
    name: 'BaZiPaiPanPanel',
    component: () => import(/* webpackChunkName: "about" */ '../views/panel/BaZiPaiPanPanel.vue')
  },
  {
    path: '/IntroducePanel',
    name: 'IntroducePanel',
    component: () => import(/* webpackChunkName: "about" */ '../views/panel/IntroducePanel.vue')
  },
  {
    path: Enum.myRecdpath,
    name: 'MyRecdPanel',
    component: () => import(/* webpackChunkName: "about" */ '../views/panel/MyRecdPanel.vue')
  },
  {
    path: Enum.myIndexpath,
    name: 'MyIndexPanel',
    component: () => import(/* webpackChunkName: "about" */ '../views/panel/MyIndexPanel.vue')
  },
  {
    path: Enum.lifeInterpretPanel,
    name: 'LifeInterpretPanel',
    component: () => import(/* webpackChunkName: "about" */ '../views/panel/LifeInterpretPanel.vue')
  },
  {
    path: Enum.messagePanel,
    name: 'MessagePanel',
    component: () => import(/* webpackChunkName: "about" */ '../views/panel/MessagePanel.vue')
  },
  {
    path: Enum.paiPanXinxiPanelpath,
    name: 'PaiPanXinxiPanel',
    component: () => import(/* webpackChunkName: "about" */ '../views/panel/PaiPanXinxiPanel.vue')
  },
  {
    path: Enum.wanNingLiPanel,
    name: 'WanNingLiPanel',
    component: () => import(/* webpackChunkName: "about" */ '../views/panel/WanNingLiPanel.vue')
  },

]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
